﻿package birdry.events	{
	import flash.events.Event;
	public class CustomEvent extends Event	{
		public static const EVENT_PARAM:String = "eventParam";
		public var param:Object;
		public function CustomEvent(type:String, Obj:Object = null):void	{
			super(type);
			param = Obj;
		}
		
		// clone 을 오버라이드 해줘야만 이벤트를 토싱할 수 있다.
		public override function clone(): Event	{
			return new CustomEvent( type, Obj );
		}
	}
}